public class id41 {
    public static void main(String[] args) {
        int[] arr = {-12, 99, 80, 70, -63, 68};
        int min = arr[0];
        for (int i = 0; i < arr.length; i++) {
            if (arr[i] > min) {
                if (arr[i] < min) {
                    min = arr[i];

                }
            }

        }
        System.out.println("输出最小的数：" + min);
    }
}

